package org.jeecg.modules.operations.assistant.work.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 工单回执
 * @Author: jeecg-boot
 * @Date:   2024-06-20
 * @Version: V1.0
 */
@ApiModel(value="work_order_receipt对象", description="工单回执")
@Data
@TableName("work_order_receipt")
public class WorkOrderReceipt implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**所属工单*/
    @ApiModelProperty(value = "所属工单")
    private String workOrderId;
	/**维护前照片*/
//	@Excel(name = "维护前照片", width = 15)
    @ApiModelProperty(value = "维护前照片")
    private String beforeMaintenance;
	/**维护后照片*/
//	@Excel(name = "维护后照片", width = 15)
    @ApiModelProperty(value = "维护后照片")
    private String afterMaintenance;
	/**故障原因*/
	@Excel(name = "故障原因", width = 15)
    @ApiModelProperty(value = "故障原因")
    private String failureCause;
	/**处理方法*/
	@Excel(name = "处理方法", width = 15)
    @ApiModelProperty(value = "处理方法")
    private String processingMethod;
	/**处理结果*/
	@Excel(name = "处理结果", width = 15, dicCode = "processingResults")
	@Dict(dicCode = "processingResults")
    @ApiModelProperty(value = "处理结果")
    private Integer processingResults;
	/**租户ID*/
//	@Excel(name = "租户ID", width = 15)
    @ApiModelProperty(value = "租户ID")
    private String tenantId;
	/**流量卡*/
//	@Excel(name = "流量卡", width = 15)
    @ApiModelProperty(value = "流量卡")
    private String trafficCard;
	/**外协费用*/
//	@Excel(name = "外协费用", width = 15)
    @ApiModelProperty(value = "外协费用")
    private java.math.BigDecimal outsourcingExpenses;
	/**审核处理*/
//	@Excel(name = "审核处理", width = 15, dicCode = "auditProcessing")
	@Dict(dicCode = "auditProcessing")
    @ApiModelProperty(value = "审核处理")
    private String auditProcessing;
	/**审核意见*/
//	@Excel(name = "审核意见", width = 15)
    @ApiModelProperty(value = "审核意见")
    private String reviewComments;
	/**审核人签名*/
//	@Excel(name = "审核人签名", width = 15)
    @ApiModelProperty(value = "审核人签名")
    private String reviewerAutograph;
	/** 审核人*/
//	@Excel(name = " 审核人", width = 15)
    @ApiModelProperty(value = " 审核人")
    private String reviewer;
	/**审核时间*/
//	@Excel(name = "审核时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "审核时间")
    private Date reviewTime;
}
